package com.cdplife.ci.modular.system.service;

import com.cdplife.ci.modular.system.model.InsuranceKind;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;
/**
 * <p>
 * 险种表 服务类
 * </p>
 *
 * @author jers
 * @since 2018-11-07
 */
public interface IInsuranceKindService extends IService<InsuranceKind> {
    /**
     * 获取保单险种列表
     */
    List<Map<String, Object>> selectInsuranceKindList(Integer policyId);

    /**
     * 增加险种
     */
    Object addInsuranceKind(InsuranceKind insuranceKind);
    /**
     * 修改险种
     */
    Object updateInsuranceKind(InsuranceKind insuranceKind);
    /**
     * 删除险种
     */
    Object deleteInsuranceKind(Integer insuranceKindId);

}
